<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>实勘</title>
    <link rel="stylesheet" href="../../css/weui.css">
    <link rel="stylesheet" href="../../css/amazeui.css">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />

</head>
<style>
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body,
    html {
        width: 100%;
        background: #ebecf1;
    }

    header {
        text-align: center;
        height: 44px;
        line-height: 44px;
        position: relative;
    }

    .button {
        width: 80%;
        margin: 30px auto;
        display: block;
        outline: none;
    }


    .am-input-group-label {
        background: #fff;
        border: none;
        font-size: 14px;
    }

    .am-form-field {
        border: none;
        text-align: right;
        outline: none;
        padding-right: 10px;
        height: auto !important;
        position: relative;
    }
    .feil{
            color: #1197ff;
        }
    .am-input-group {
        position: relative;
    }

    .weui-picker__action {
        color: #0e90d2;
    }

    .am-form-field {
        color: #000;
    }
    .am-form-field>img{
        width: 26px;
    }
    .xinxiTitle {
        padding: 0px 12px;
        margin-top: 5px;
        height: 38px;
        line-height: 38px;
        background: #fff;
    }

    .xinxibox {
        background: #FFF;
        padding: 0 10px;
    }

    .xinxibox>.list_box:first-child:after{
        display: none
    }
    .am-checkbox-inline+.am-checkbox-inline,
    .am-radio-inline+.am-radio-inline {
        margin: 0
    }

    .img {
        background-position: 0 0;
        width: 50px;
        height: 50px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        display: inline-block;
        margin-left: calc(100% - 50px);
        background-color: #ccc;
    }

    .am-btn-primary {
        border-radius: 8px;
    }

    .xinxiTITLE_2 {
        padding: 0 12px;
        height: 38px;
        line-height: 38px;
        background: transparent;
        background-color: #f0f0f0;
    }

    .am-form-field>input[type="file"]{
        position: absolute;
        top: 0;
        left: 0;
        width:100%;
        height: 100%;
        opacity: 0;
    }
            
    .button {
            width: 90%;
            margin: 30px auto;
            display: block;
            outline: none;
            background: #1197ff;
            border-radius: 5px;
            height: 40px;
        }
        .list_box{
            position: relative;
        }
        .list_box::after{
            position:absolute;
            content: '';
            width: 100%;
            height: 1px ;
            opacity: 0.7;
            background:#dadada99;
            top: 0;
            z-index: 99
        }
</style>

<body>
        <!-- <div class="shenhe" style="
        width: 60px;
    height: 60px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #1197ff;
    font-size: 13px;
    border-radius: 100%;
    text-align: center;
    line-height: 60px;
    color: #fff;
    z-index: 9999;
    border: 1px solid #1284dc;
    ">
        提交审核
    </div> -->
    <div data-am-widget="tabs"  style="margin:0;background: #FFF;" class="box am-tabs am-tabs-default">
            <ul style="background: #FFF;" class="am-tabs-nav am-cf">
                <li onclick="window.location.href='./dingdanxinxi.html?id='+GetQueryString('id')+'&SerialNumber='+GetQueryString('SerialNumber')" class="">
                    <a href="javascript:;">订单详情</a>
                </li>
                <li onclick="window.location.href='./diyaxinxi.html?id='+GetQueryString('id')+'&SerialNumber='+GetQueryString('SerialNumber')" class="">
                    <a href="javascript:;">抵押信息</a>
                </li>
                <li onclick="window.location.href='./daikuanxinxi.html?id='+GetQueryString('id')+'&SerialNumber='+GetQueryString('SerialNumber')" class="">
                    <a href="javascript:;">贷款信息</a>
                </li>
                <li onclick="window.location.href='./diaochazongshu.html?id='+GetQueryString('id')+'&SerialNumber='+GetQueryString('SerialNumber')" class="">
                    <a href="javascript:;">调查综述</a>
                </li>
                <li onclick="window.location.href='./zhaopian.html?id='+GetQueryString('id')+'&SerialNumber='+GetQueryString('SerialNumber')" class="am-active">
                    <a href="javascript:;">照片</a>
                </li>
            </ul>
        </div>
    <div class="xinxiTitle " id="bianhao">
        订单编号：HD201802032268
    </div>
    <div class="xinxiTITLE_2">
        以下需当场拍摄
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">小区门口（含小区名）</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="GateOfUrl" onchange="ajaxFileUpload(this)" type="file" class="GateOfUrl">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">建筑物（含楼栋号）</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="BuildingUrl" onchange="ajaxFileUpload(this)" type="file" class="BuildingUrl">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">借款人夫妻与下户人员合影（在门牌出）</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="GroupPhotoUrl" onchange="ajaxFileUpload(this)" type="file" class="GroupPhotoUrl">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">征信照片</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="CreditReportingUrl" type="file" onchange="ajaxFileUpload(this)" class="CreditReportingUrl">
                </div>
            </div>
        </div>
    </div>

    <div class="xinxiTITLE_2">
        小区环境
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">小区门口</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="GateOfEnvironmentUrl" type="file" onchange="ajaxFileUpload(this)" class="GateOfEnvironmentUrl">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">小区内部</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="LivingAreaEnvironmentUrl" type="file" onchange="ajaxFileUpload(this)" class="LivingAreaEnvironmentUrl">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">其他</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="COtherUrl" type="file" onchange="ajaxFileUpload(this)" class="COtherUrl">
                </div>
            </div>
        </div>
    </div>
    <div class="xinxiTITLE_2">
        建筑物
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">所在单元号</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="UnitNumberUrl" type="file" onchange="ajaxFileUpload(this)" class="UnitNumberUrl">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">楼栋远景</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="BuildingVision" type="file" onchange="ajaxFileUpload(this)" class="BuildingVision">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">其他</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="BOtherUrl" type="file" onchange="ajaxFileUpload(this)" class="BOtherUrl">
                </div>
            </div>
        </div>
    </div>
    <div class="xinxiTITLE_2">
        房产照片
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">房门半开（含门牌及房间内）</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="DoorAjarUrl" type="file" onchange="ajaxFileUpload(this)" class="DoorAjarUrl ">

                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">卧室</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="BedRoom" type="file" onchange="ajaxFileUpload(this)" class="BedRoom">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">厨房</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="Kitchen" type="file" onchange="ajaxFileUpload(this)" class="Kitchen">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">卫生间</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="Toilet" type="file" onchange="ajaxFileUpload(this)" class="Toilet">

                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">客厅</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="SittingRoom" type="file" onchange="ajaxFileUpload(this)" class="SittingRoom">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">阳台</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="Balcony" type="file" onchange="ajaxFileUpload(this)" class="Balcony">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">其他</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="FOther" type="file" onchange="ajaxFileUpload(this)" class="FOther">
                </div>
            </div>
        </div>
    </div>
    <div class="xinxiTITLE_2">
        证件照片
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">借款人及配偶手持身份证</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="IdCardImg" type="file" onchange="ajaxFileUpload(this)" class="IdCardImg">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">房产证</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="RealEstate" type="file" onchange="ajaxFileUpload(this)" class="RealEstate">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">户口本</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="Permanent" type="file" onchange="ajaxFileUpload(this)" class="Permanent">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">婚姻证明</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="MarriageImg" type="file" onchange="ajaxFileUpload(this)" class="MarriageImg">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">原始购房合同</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="ContractHouse" type="file" onchange="ajaxFileUpload(this)" class="ContractHouse">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">其他</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="ZOther" type="file" onchange="ajaxFileUpload(this)" class="ZOther">
                </div>
            </div>
        </div>
    </div>
    <div class="xinxiTITLE_2">
        其他申请资料
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">借款人及配偶征信报告</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="CreditReport" type="file" onchange="ajaxFileUpload(this)" class="CreditReport">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">收入证明</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="IncomeProof" type="file" onchange="ajaxFileUpload(this)" class="IncomeProof">

                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">近半年流水</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="SemiAnnualFlow" type="file" onchange="ajaxFileUpload(this)" class="SemiAnnualFlow">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">企业营业执照</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="BusinessLicense" type="file" onchange="ajaxFileUpload(this)" class="BusinessLicense">

                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">其他</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="XOther" type="file" onchange="ajaxFileUpload(this)" class="XOther">
                </div>
            </div>
        </div>
    </div>
    <div class="xinxiTITLE_2">
        行业申请资料
    </div>
    <div class="xinxibox">
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">业务申请表</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="BusinessApplication" type="file" onchange="ajaxFileUpload(this)" class="BusinessApplication">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">房屋租赁合同</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="LeaseContractImg" type="file" onchange="ajaxFileUpload(this)" class="LeaseContractImg">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">其他辅助资料</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="SecondaryData" type="file" onchange="ajaxFileUpload(this)" class="SecondaryData">
                </div>
            </div>
        </div>
        <div class="list_box">
            <div class="am-input-group">
                <span class="am-input-group-label">承租人承诺函</span>
                <div class="am-form-field">
                    <img src="../../images/xiangji.png" alt="">
                    <input srcImg="" name="Acknowledgement" type="file" onchange="ajaxFileUpload(this)" class="Acknowledgement">
                </div>
            </div>
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">提示</div>
            <div class="am-modal-bd cont">
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>
    <button id="am-btn" class="button am-btn am-btn-primary">提交</button>
    <div class="shenhe" style="
    width: 90%;
    margin: 30px auto;
    display: block;
    outline: none;
    background: #1197ff;
    border-radius: 5px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #fff;
">
    提交审核
</div>
    <script src="../../js/jquery-3.2.1.min.js"></script>
    <script src="../../js/ajaxfileupload.js"></script>
    <script src="https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js"></script>
    <script src="../../js/amazeui.js"></script>
    <script src="../../js/ajaxfileupload.js"></script>
    <style>
        input[readonly="readonly"] {
            background: #fff !important;
        }
    </style>
    <script>
                    function GetQueryString(name) {
                var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                var r = window.location.search.substr(1).match(reg);
                if (r != null) return unescape(r[2]);
                return null;
            }
        var zhi = localStorage.getItem('zhi')
        var SerialNumber = localStorage.getItem('SerialNumber')
        var http = localStorage.getItem('http')
        var UserId = localStorage.getItem('UserId')
        var Access_token = localStorage.getItem('Access_token')
        var Refresh_token = localStorage.getItem('Refresh_token');
        $('#bianhao').text('订单编号：' + SerialNumber)
        $(function () {
            $.ajax({
                type: 'GET',
                url: http + '/api/prosprct/GetAllOrderMes',
                headers: {
                    "Authorize": Access_token + '|' + Refresh_token
                },
                data: {
                    keyValue: zhi
                },
                success: function (data) {
                    console.log(JSON.stringify(data));
                    console.log(Object.keys(data.resultdata));
                    dataarr = Object.keys(data.resultdata)
                    for (var datakeys = 0; datakeys < Object.keys(data.resultdata).length; datakeys++) {
                        var MM = $("input[name=\'" + dataarr[datakeys] + "']")
                        var type = MM.attr('type')
                        console.log(type);
                        if (type == 'text') {
                            MM.val(data.resultdata[dataarr[datakeys]])
                        } else if (type == 'radio') {
                            if (data.resultdata[dataarr[datakeys]] == true) {
                                $("input[name=\'" + dataarr[datakeys] + "']input[value='0']").prop('checked', true);
                            } else {
                                $("input[name=\'" + dataarr[datakeys] + "']input[value='1']").prop('checked', true);
                            }
                        } else if (type == 'number') {
                            MM.val(data.resultdata[dataarr[datakeys]])
                        } else if (type == 'checkbox') {
                            var duoxuan = data.resultdata[dataarr[datakeys]].split(',')
                            for (var po = 0; po < duoxuan.length; po++) {
                                $("input[name=\'" + dataarr[datakeys] + "']input[value='" + duoxuan[po] + "']").prop('checked', true);
                            }
                        } else if (type == 'file') {
                            if (data.resultdata[dataarr[datakeys]] == null) {
                            } else {
                                // if (dataarr[datakeys] == 'IdCardImg') {
                                //     $("input[name='IdCard']").attr('srcimg', data.resultdata[dataarr[datakeys]]);
                                //     $("input[name='IdCard']").parent().find('img').attr('src', '../../images/yes.svg')
                                // } else if (dataarr[datakeys] == 'MarriageImg') {
                                //     $("input[name='Marriage']").attr('srcimg', data.resultdata[dataarr[datakeys]]);
                                //     $("input[name='Marriage']").parent().find('img').attr('src', '../../images/yes.svg')
                                // } else if (dataarr[datakeys] == 'LeaseContractImg') {
                                //     $("input[name='LeaseContract']").attr('srcimg', data.resultdata[dataarr[datakeys]]);
                                //     $("input[name='LeaseContract']").parent().find('img').attr('src', '../../images/yes.svg')
                                // } else {
                                $("input[name=\'" + dataarr[datakeys] + "']").attr('srcimg', data.resultdata[dataarr[datakeys]]);
                                $("input[name=\'" + dataarr[datakeys] + "']").parent().find('img').attr('src', '../../images/yes.svg')
                                // }
                            }
                        }
                    }
                },
                error: function (err) {
                    alert('获取数据失败')
                    console.log(JSON.stringify(err));
                }
            })
        })
        function ajaxFileUpload(th) {
            $('body').append(`<div style="z-index:99999999999999;top:0;
        left:0;position:fixed;width:100%;height:100%;" class="loidn">
                <div style="width:100%;position:absolute;top:50%;left:0%;text-align:center;transform:translateYs(-50%);">图片上传中...</div>
            
            </div>`)
            var thisclass = $(th).attr('class');
            num = 0;
            $.ajaxFileUpload({
                url: 'http://zhikewl.s1.natapp.cc/UploadImgs/DoUpload', //用于文件上传的服务器端请求地址
                secureuri: false, //是否需要安全协议，一般设置为false
                fileElementId: $(th), //文件上传域的ID
                dataType: 'json', //返回值类型 一般设置为json
                success: function (data, status) //服务器成功响应处理函数
                {
                    $('.loidn').remove()
                    console.log(JSON.stringify(data))
                    textalert(data.Msg)
                    if (data.State == true) {
                        data2 = data;
                        num = 1
                    }
                },
                error: function (data, status, e) //服务器响应失败处理函数
                {
                    console.log(data);
                    $('.loidn').remove()
                }
            })

            var time = setInterval(function () {
                if (num == 1) {
                    $('.' + thisclass).attr('srcImg', data2.Obj)
                    $('.' + thisclass).parent().find('img').attr('src', '../../images/yes.svg')

                    clearInterval(time)

                }
            }, 1)
            return false;
        }
        $('#am-btn').click(function () {
            obj = {}
            // for (var i = 0; i < $('input[type="file"]').length; i++) {
            //     if ($('input[type="file"]').eq(i).attr('srcImg') == "") {
            //         var te = $('input[type="file"]').eq(i).parent().parent().find('span').text()
            //         $(".cont").text('请上传' + te.replace('：', ''))
            //         $('#my-alert').modal('open')
            //         $('.button').removeAttr('disabled')
            //         $('.loidn').remove()
            //         return
            //     }
            // }

            for (var p = 0; p < $('input[type="file"]').length; p++) {
                var Name = $('input[type="file"]').eq(p).attr('name');
                if (Name == 'IdCardImg') {
                    Name = 'IdCard'
                } else if (Name == 'MarriageImg') {
                    Name = 'Marriage'
                } else if (Name == 'LeaseContractImg') {
                    Name = 'LeaseContract'
                }
                var srcImg = $('input[type="file"]').eq(p).attr('srcImg');
                obj[Name] = srcImg
            }

            console.log(JSON.stringify(obj))
            $.ajax({
                type: 'POST',
                url: http + '/api/prosprct/SavePhoto?keyWord=' + zhi,
                headers: {
                    "Authorize": Access_token + '|' + Refresh_token,
                    "MemberId": UserId
                },
                async: false,
                data: obj,
                dataType: "json",
                success: function (data) {
                    console.log(JSON.stringify(data))
                    $(".cont").text(data.message)
                    $('#my-alert').modal('open')
                    $('.loidn').remove()
                },
                error: function (err) {
                    console.log(JSON.stringify(err))
                    $('.loidn').remove()
                }
            })
        })
        function textalert(text) {
            $('body,html').css('width', '100%').css('height', '100%');
            var dome =
                `<div style="text-align:center;position:absolute;top:50%;transform:translate(-50%,-50%);border-radius: 5px;background: rgba(0,0,0,0.5);padding: 0.2rem;left: 50%;z-index:9999999999999999999999999;" class="mask_boxcontent">
          <p style="color:#fff;margin:0;">${text}</p>
        </div>`
            $('body').append(dome);
            setTimeout(function () {
                $('.mask_boxcontent').fadeOut(500);
                setTimeout(function () {
                    $('.mask_boxcontent').remove();
                }, 500)
            }, 2000)
        }
        
    $('.shenhe').on('click', function () {
                $.ajax({
                    type: 'POST',
                    url: http + '/api/prosprct/SaveExploitation?keyWord='+zhi,
                    headers: {
                        "Authorize": Access_token + '|' + Refresh_token
                    },
                    data: {},
                    success: function (data) {
                        console.log(JSON.stringify(data));
                        alert(data.message)
                        if (data.type==1) {
                            window.location.replace("../dingfan.html")
                        }
                    },
                    error: function (err) {
                        console.log(JSON.stringify(err));
                    }
                })
            })
    </script>
</body>

</html>